$(function() {
		// run the currently selected effect
		function runEffect() {
			var options = {};						
			// run the effect
			$( "#effect" ).show( 'bounce', options, 300, callback );
		};

		
		function runEffect2(){
			var options = {};						
			$( "#effect" ).hide( 'blind', options, 500, callback );
		}
		
		//callback function to bring a hidden box back
		function callback() {
			
		};
		
		$( "#cancelReg" ).click(function() {
			runEffect2();
			$( "#button" ).show();
			return false;
		});
		// set effect from select menu value
		$( "#button" ).click(function() {
			$( "#button" ).hide();
			runEffect();
			return false;
		});

		$( "#effect" ).hide();
	});